package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration//表示该类是一个配置类
@ComponentScan("com.itheima")//<context:component-scan base-package="com.itheima"/>
@PropertySource("classpath:jdbc.properties")//<context:property-placeholder location="classpath:jdbc.properties"/>
@Import({JdbcConfig.class,MybatisConfig.class})//引入分配置类
public class SpringConfiguration {
}
